package online.flowerinsnow.minecraft.bukkit.testffa.core;

import online.flowerinsnow.minecraft.bukkit.testffa.manager.CombatManagerImpl;
import online.flowerinsnow.minecraft.bukkit.testffa.manager.EnderPearlCoolDownManagerImpl;
import online.flowerinsnow.minecraft.bukkit.testffa.manager.StatsManagerImpl;

public class TestFFACore {
    private static CombatManagerImpl combatManager;
    private static EnderPearlCoolDownManagerImpl enderPearlCoolDownManager;
    private static StatsManagerImpl statsManager;

    public static void init(
            CombatManagerImpl combatManager,
            EnderPearlCoolDownManagerImpl enderPearlCoolDownManager,
            StatsManagerImpl statsManager
    ) {
        TestFFACore.combatManager = combatManager;
        TestFFACore.enderPearlCoolDownManager = enderPearlCoolDownManager;
        TestFFACore.statsManager = statsManager;
    }

    public static CombatManagerImpl getCombatManager() {
        return combatManager;
    }

    public static EnderPearlCoolDownManagerImpl getEnderPearlCoolDownManager() {
        return enderPearlCoolDownManager;
    }

    public static StatsManagerImpl getStatsManager() {
        return statsManager;
    }
}
